﻿using BellAssistant.Model.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BellAssistant.Model.Tables
{
    public class PromotionType : CDataContext.CEntity
    {
        /// <summary>
        /// 活动ID
        /// </summary>
        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = false, Att_ISPrimary = true, Att_AutoIncrement = true)]
        public int PromotionID { get; set; }

        /// <summary>
        /// 活动名称
        /// </summary>
        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = true)]
        public string PromotionName { get; set; }

        /// <summary>
        /// 活动对象
        /// </summary>
        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = true)]
        public string PromotionPeople { get; set; }
        /// <summary>
        /// 活动方式
        /// </summary>
        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = true)]
        public string PromotionAction { get; set; }
        /// <summary>
        /// 活动状态
        /// </summary>
        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = true)]
        public string PromotionStatus { get; set; }
        /// <summary>
        /// 活动标签
        /// </summary>
        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = true)]
        public string PromotionTag { get; set; }

        /// <summary>
        ///活动时间开始
        /// </summary>

        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = true)]

        public DateTime StartTime { get; set; }

        /// <summary>
        ///活动时间结束
        /// </summary>

        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = true)]
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 优惠券ID
        /// </summary>
        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = true)]
        public int CouponID { get; set; }
    }
}
